//
//  AllGoodHomeCell.m
//  
//
//  Created by xalo on 16/2/29.
//
//

#import "AllGoodHomeCell.h"
#import "HomeModel.h"
#import <UIImageView+WebCache.h>
@interface AllGoodHomeCell ()
@property (strong, nonatomic) IBOutlet UIImageView *imageView;

@end
@implementation AllGoodHomeCell

- (void)awakeFromNib {
    self.layer.cornerRadius=4;
    self.layer.borderWidth=1;
    self.layer.borderColor=[UIColor lightGrayColor].CGColor;
}
-(void)setContentWithModel:(HomeModel *)model
{
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.imageUrl]];
}

@end
